package com.scap.dfs.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table( name = "JA_SITE")
public class Site {
	
	private String vaSiteId;
	private String vaSiteName;
	private String vaStatus;
	private int vnInsertUserId;
	private String vaInsertDate;
	private String vaInsertTime;
	private int vnUpdateUserId;
	private String vaUpdateDate;
	private String vaUpdateTime;
	
	public Site(String vaSiteId, String vaSiteName, String vaStatus,
			int vnInsertUserId, String vaInsertDate, String vaInsertTime,
			int vnUpdateUserId, String vaUpdateDate, String vaUpdateTime) {
		this.vaSiteId = vaSiteId;
		this.vaSiteName = vaSiteName;
		this.vaStatus = vaStatus;
		this.vnInsertUserId = vnInsertUserId;
		this.vaInsertDate = vaInsertDate;
		this.vaInsertTime = vaInsertTime;
		this.vnUpdateUserId = vnUpdateUserId;
		this.vaUpdateDate = vaUpdateDate;
		this.vaUpdateTime = vaUpdateTime;
	}
	
	public Site() {
		
	}
	
	@Id
	@Column ( name = "SITE_ID", length = 2, scale = 0)
	public String getVaSiteId() {
		return vaSiteId;
	}
	public void setVaSiteId(String vaSiteId) {
		this.vaSiteId = vaSiteId;
	}
	
	@Column ( name = "SITE_NAME", length = 200)
	public String getVaSiteName() {
		return vaSiteName;
	}
	public void setVaSiteName(String vaSiteName) {
		this.vaSiteName = vaSiteName;
	}
	
	@Column ( name = "STATUS", length = 1)
	public String getVaStatus() {
		return vaStatus;
	}
	public void setVaStatus(String vaStatus) {
		this.vaStatus = vaStatus;
	}
	
	@Column ( name = "INSERT_USER_ID")
	public int getVnInsertUserId() {
		return vnInsertUserId;
	}
	public void setVnInsertUserId(int vnInsertUserId) {
		this.vnInsertUserId = vnInsertUserId;
	}
	
	@Column ( name = "INSERT_DATE", length = 8)
	public String getVaInsertDate() {
		return vaInsertDate;
	}
	public void setVaInsertDate(String vaInsertDate) {
		this.vaInsertDate = vaInsertDate;
	}
	
	@Column( name = "INSERT_TIME", length = 6)
	public String getVaInsertTime() {
		return vaInsertTime;
	}
	public void setVaInsertTime(String vaInsertTime) {
		this.vaInsertTime = vaInsertTime;
	}
	
	@Column ( name = "UPDATE_USER_ID")
	public int getVnUpdateUserId() {
		return vnUpdateUserId;
	}
	public void setVnUpdateUserId(int vnUpdateUserId) {
		this.vnUpdateUserId = vnUpdateUserId;
	}
	
	@Column ( name = "UPDATE_DATE", length = 8)
	public String getVaUpdateDate() {
		return vaUpdateDate;
	}
	public void setVaUpdateDate(String vaUpdateDate) {
		this.vaUpdateDate = vaUpdateDate;
	}
	
	@Column ( name = "UPDATE_TIME", length = 6)
	public String getVaUpdateTime() {
		return vaUpdateTime;
	}
	public void setVaUpdateTime(String vaUpdateTime) {
		this.vaUpdateTime = vaUpdateTime;
	}	
}
